toggle menu
Chat2Desk SDK
1.5.7
1.5.14
1.5.13
1.5.12
1.5.11
1.5.10
1.5.9
1.5.8
1.5.7
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
common
switch theme
search in API
Chat2Desk SDK
/
com.chat2desk.chat2desk_sdk.domain.entities
/
Button
Button
data
class
Button
(
val
type
:
String
,
val
text
:
String
,
val
color
:
String
?
=
null
,
val
url
:
String
?
=
null
,
val
payload
:
String
?
=
null
)
The button entity.
Members
Constructors
Button
Link copied to clipboard
constructor
(
type
:
String
,
text
:
String
,
color
:
String
?
=
null
,
url
:
String
?
=
null
,
payload
:
String
?
=
null
)
Properties
color
Link copied to clipboard
val
color
:
String
?
=
null
Button color.
payload
Link copied to clipboard
val
payload
:
String
?
=
null
Button payload.
text
Link copied to clipboard
val
text
:
String
Button text.
type
Link copied to clipboard
val
type
:
String
Button type.
url
Link copied to clipboard
val
url
:
String
?
=
null
Button url.